package com.qf.service;

import com.qf.entity.Cart;
import com.qf.entity.Order;

import java.util.List;

/**
 * @author wgy
 * @version V1.0
 * @project gp12_xiaomi
 * @package com.qf.service
 * @description: ${TODO}
 * @date 2022/6/24 16:43
 */
public interface OrderService {
    void submitOrder(Order order, List<Cart> cartList);

    void updateStatus(String oid, String status);

    List<Order> findByUid(int uid);

    Order findByOid(String oid);

    List<Order> findAll();

    List<Order> findByWhere(String where, List<Object> params);
}
